From aaece813a3254528aa0469089fb23c0d96cfc040 Mon Sep 17 00:00:00 2001 From: robertl Date: Thu, 23 Mar 2006 17:22:25 +0000 Subject: [PATCH] Explictly init tm struct. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@1783 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/holux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gpsbabel/holux.c b/gpsbabel/holux.c index a020a8bbe..f3f44876a 100644 --- a/gpsbabel/holux.c +++ b/gpsbabel/holux.c @@ -90,6 +90,7 @@ static void data_read(void) struct tm tm; struct tm *ptm; + memset(&tm, 0, sizeof(tm)); HxWpt = xcalloc(GM100_WPO_FILE_SIZE, 1); -- 2.30.2